package com.xcity.pomelo.push.sync;

import com.xcity.pomelo.PomeloRoute;
import com.xcity.pomelo.push.SyncPush;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

/**
 * 一个short同步项
 * @author yang.li
 *
 */
@PomeloMessage(type = Message.Type.PUSH, route = PomeloRoute.PUSH_SYNC)
public class ShortSync extends SyncPush {

	protected short value;
	
	public ShortSync(short id, short value) {
		super(id);
		this.value = value;
	}

	public short getValue() {
		return value;
	}

	public void setValue(short value) {
		this.value = value;
	}

}
